<?php
session_start();
include('fungsi_admin.php');
if (!empty($_SESSION['user'])){
	hapus($_GET['id']);
	#echo "berhasil dihapus";
	echo "<script>
			alert ('berhasil dihapus');
			window.location = '../admin/pengaturan_berita.php';
	</script>";
}
else{
echo "anda tidak berhak";
}

?>